package com.haoyun.common.core;

/**
 * Created by twg on 2018/6/13.
 * 错误码说明
 * 205001
 * 2为服务级错误（1为系统级错误）	05为服务模块代码	001为具体错误代码
 */
public enum ErrorCodeEnum {
    E_20001(200001,"参数错误：%s");

    ErrorCodeEnum(int code,String message){
        this.code  = code;
        this.message  = message;
    }

    private int code;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
